package top.aicats.blog.BlogManage.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.aicats.blog.BlogManage.model.BlogSubType;

import java.util.List;

/**
 * @author sjc
 * @version 1.0
 * @date 2020/1/7 21:31
 * @email 952491025@qq.com
 */
@Mapper
public interface SubBlogTypeMapper {
    int insertOneSubType(BlogSubType type);

    List<BlogSubType> getSubBlogTypesByMainRefid(BlogSubType type);

    int deleteSubTypeByRefid(BlogSubType type);
}
